﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Threading;

public partial class LA : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Label2.Text = new Random().Next(111).ToString();
        Label1.Text = new Random().Next(111).ToString();
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        Thread.Sleep(5000);
        Label1.Text = new Random().Next(111).ToString();
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        TextBox2.Text = new Random().Next(121).ToString();
    }
}